/* 默认样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #000;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-width: 500px;
  width: 100%;
  height: 100vh;
  background: url(../img/login_bg.jpg) no-repeat center/cover;
  overflow: hidden;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  background-color: rgba(0, 0, 0, .4);
  transition: 1s .2s;
}

.logo span {
  font-size: 40px;
  color: rgba(255, 255, 255, .7);
  margin-left: 80px;
  opacity: .8;
  transition: .4s .1s;
}

.help {
  display: flex;
  padding: 10px;
  margin-right: 40px;
}

.help p,
.help span {
  font-size: 18px;
  padding: 0 6px;
  color: rgba(255, 255, 255, .7);
  transition: .4s .1s;
}

.top:hover {
  background-color: rgba(0, 0, 0, .7);
}

.iconfont:hover {
  opacity: 1;
  color: aqua;
  transform: translate(4px, 2px);
}

.help p:hover,
.help span:hover {
  cursor: pointer;
  color: aqua;
  transform: translate(4px, 2px);
}

/* login-box start */
.login-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 20%;
  top: 20%;
  width: 400px;
  height: 550px;
  margin-bottom: 250px;
  border-top: 1px solid rgba(255, 255, 255, .5);
  border-left: 1px solid rgba(255, 255, 255, .5);
  border-right: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  /* background: rgba(155, 188, 205, 0.5); */
  backdrop-filter: blur(1px);
  letter-spacing: 1px;
  transition: .6s .2s;
}

.tit {
  margin-bottom: 60px;
}

.tit h2 {
  font-size: 36px;
  color: #fff;
  font-weight: 400;
  text-align: center;
}

.input-box {
  display: flex;
  justify-content: space-between;
  margin: 36px 0;
}

.input-box label {
  font-size: 20px;
  color: #fff;
  padding-right: 4px;
  padding-bottom: 4px;
}

.input-box input {
  box-sizing: border-box;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  height: 34px;
  width: 180px;
  background-color: rgba(255, 255, 255, .3);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 5px;
  transition: 0.2s;
  outline: none;
  padding: 0 10px;
}

.btn-box {
  display: flex;
  justify-content: center;
}

button {
  width: 120px;
  height: 42px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: none;
  border-radius: 10px;
  font-size: 18px;
  color: #fff;
  transition: .3s .1s;
}

button:hover {
  box-shadow: 0 0 10px 4px rgba(38, 56, 68, .2),
    0 0 10px 4px rgba(221, 232, 239, 0.2);
  transform: translate(2px, 4px) scale(1.02);
  background: rgba(255, 255, 255, .05);
  font-weight: 700;
  border-radius: 14px;
}

body:hover .login-box {
  left: 40%;
  top: 20%;
  backdrop-filter: blur(4px);
}

.login-box:hover {
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px 4px rgba(38, 56, 68, .2) inset,
    0 0 10px 4px rgba(167, 199, 220, 0.2);
}

.signin {
  position: absolute;
  right: 30%;
  bottom: 20%;
  width: 120px;
  height: 120px;
  border-radius: 39% 61% 70% 30% / 54% 55% 45% 46%;
  box-shadow: inset 10px 20px 30px rgba(39, 93, 126, 0.3),
    10px 10px 20px rgba(34, 60, 123, 0.6),
    15px 15px 30px rgba(28, 85, 158, 0.2),
    inset -10px -10px 15px rgba(195, 235, 255, 0.8);
  animation: action 3s linear infinite alternate;
}

.signin p {
  position: relative;
  left: 14px;
  top: 40px;
  font-size: 18px;
  color: #fff;
}

.signin p:before {
  content: '';
  width: 14px;
  height: 12px;
  position: absolute;
  top: -20px;
  left: 0;
  background-color: rgba(255, 255, 255, .8);
  border-radius: 52% 48% 63% 37% / 48% 27% 73% 52%;
  animation: action 3s linear infinite alternate;
}

/* 动画 */
@keyframes action {
  25% {
    border-radius: 21% 79% 76% 24% / 41% 38% 62% 59%;
  }

  50% {
    border-radius: 25% 75% 74% 26% / 44% 33% 67% 56%;
  }

  75% {
    border-radius: 20% 80% 70% 30% / 48% 29% 71% 52%;
  }

  100% {
    border-radius: 19% 81% 63% 37% / 45% 22% 78% 55%;
  }
}